package com.hydl.power.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.hydl.power.mapper.TempDataMapper;
import com.hydl.power.pojo.TempData;
import com.hydl.power.service.TempDataService;

/**
 * @author miss
 * @version V3.0
 * @since 2023/1/14 17:05
 */
@Service
public class TempDataServiceImpl implements TempDataService {

    @Autowired
    private TempDataMapper tempDataMapper;

    @Override
    public List<TempData> queryTempData(String deviceId, String time, String dataType, String minute) {
        return tempDataMapper.queryTempData(deviceId,time,dataType,minute);
    }

    @Override
    public List<TempData> getTempDataLine(String deviceId, String time) {
        return tempDataMapper.getTempDataLine(deviceId,time);
    }
}
